<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <th:block th:include="include :: header('企业实时评价结果')" />
</head>
<body class="gray-bg">
     <div class="container-div">
        <div class="row">
            <div class="col-sm-12 search-collapse">
                <form id="formId">
                    <div class="select-list">
                        <ul>
                            <li>
                                <p>姓名：</p>
                                <input type="text" name="accename"/>
                            </li>
                            <li>
							评价对象：<select name="projecttype" th:with="type=${@dict.getType('sys_normal_disable')}">
							            <option value="">全部</option>
										<option value="">注册造价工程师</option>
										<option value="">项目经理（注册建造师）</option>
										<option value="">建设单位项目负责人</option>
										<option value="">注册监理工程师</option>
										<option value="">总监代表</option>
										<option value="">专业监理工程师</option>
										<option value="">监理员</option>
										<option value="">见证员</option>
								</select>
							</li>
                            <li>
                                <a class="btn btn-primary btn-rounded btn-sm"><i class="fa fa-search"></i>&nbsp;搜索</a>
                                <a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
                            </li>
                        </ul>
                    </div>
                </form>
            </div>
            <div class="col-sm-12 select-table table-striped">
                 <table id="bootstrap-table"></table>
            </div>
        </div>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
    var prefix = ctx + "integrityEvaluation/personRealTime";
    
    $(function() {
    	$('#bootstrap-table').bootstrapTable({
    	/* var options = {
    			url: prefix + "/list",
                createUrl: prefix + "/add",
                updateUrl: prefix + "/edit/{id}",
                removeUrl: prefix + "/remove",
                exportUrl: prefix + "/export",
                detailUrl: prefix + "/detail/{id}",
                modalName: "全部项目", */
                columns: [{
                        field: 'id',
                        title: '序号',
						formatter: function (value, row, index) {
						
						    return index + 1;
						}
                    }, 
                     {
                        field: 'name',
                        title: '姓名'
                    }, {
                        field: 'code',
                        title: '身份证号',
                        visible: false
                    },
                    {
                        field: 'objectofevaluation',
                        title: '资格类型'
                    },
                    {
                        field: 'score',
                        title: '实时评价得分'
                    },
                    {
                        field: 'time',
                        title: '评价日期',
                        visible: false
	                }
                ],
                data: [{
                    name: '覃鹏',
                    code: '5109221979******76',
                    objectofevaluation:'注册造价工程师',
                    score: '68',
                    time: '2019-11-17'
                }, {
                    name: '蔡林林',
                    code: '4211821983******5X',
                    objectofevaluation:'注册造价工程师',
                    score: '68',
                    time: '2019-11-17'
                }, {
                    name: '戴振宇',
                    code: '4306021970******38',
                    objectofevaluation:'注册造价工程师',
                    score: '68',
                    time: '2019-11-17'
                }]
    	    })
        //};
    	//$.table.init(options);
    });
    </script>
</body>
</html>